home *** CD-ROM | disk | FTP | other *** search
/ Workplace Effectiveness: Critical Thinking Skills / Workplace Effectiveness: Critical Thinking Skills.iso / pc / Files / Clue.dxr / 00004_Clue handlers.ls < prev    next >
Encoding:
Text File  |  1998-09-17  |  576 b   |  28 lines

  1. global gSection, gClueData
  2.  
  3. on nextOne
  4.   if the questionNum of gClueData < 21 then
  5.     go(marker(1))
  6.     set the questionNum of gClueData to the questionNum of gClueData + 1
  7.     if the questionNum of gClueData = 2 then
  8.       audio1xOnly(gMasterData, "59")
  9.     end if
  10.   else
  11.     goScore()
  12.   end if
  13. end
  14.  
  15. on previousOne
  16.   if the questionNum of gClueData > 1 then
  17.     go(marker(-1))
  18.     set the questionNum of gClueData to the questionNum of gClueData - 1
  19.   else
  20.     case gSection of
  21.       #questions:
  22.         goIntro()
  23.       #answers:
  24.         goScore()
  25.     end case
  26.   end if
  27. end
  28.